<?php

namespace app\index\controller;

use app\index\model\Cate as CateModel;
use think\Controller;
use think\Request;

class Typez extends Controller
{
    public function _initialize(){
        $catez = new CateModel();
        $cateresz = $catez->getcate(2); //历史分类
        $this->assign(array(
            'cateresz' => $cateresz
        ));
    }
}
